Skip to content

Conversation

@samanklesaria
Copy link

This PR fixes the handling of integer padding arguments to lax.conv_transpose. It addresses #32267 and google/flax#4593 by computing the padding necessary for a conv-transpose when the input padding argument is interpreted as the padding used by the ordinary convolution, as described in https://arxiv.org/abs/1603.07285

@google-cla
Copy link

google-cla bot commented Oct 1, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@samanklesaria samanklesaria changed the title Fixes #32267 Support Explicit Integer Padding in lax.conv_transpose Oct 1, 2025
@samanklesaria samanklesaria changed the title Support Explicit Integer Padding in lax.conv_transpose Support explicit integer padding in lax.conv_transpose Oct 1, 2025
Copy link
Collaborator

@levskaya levskaya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this all looks right! apologies for the slow review.

@google-ml-butler google-ml-butler bot added kokoro:force-run pull ready Ready for copybara import and testing labels Oct 8, 2025
@samanklesaria samanklesaria requested a review from levskaya October 8, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kokoro:force-run pull ready Ready for copybara import and testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants